<?php
namespace app\admin\validate;

use think\Validate;

/**
 * 配置验证器
 * @author xiaohu <1731050423@qq.com>
 */
class Menu extends Validate
{
    //定义验证规则
    protected $rule = [
        // 'controller|所属模块' => 'require',
        'pid|所属节点'    => 'require',
        'title|节点标题'  => 'require',
    ];

    //定义验证提示
    protected $message = [
        
    ];

    //定义验证场景
    protected $scene = [
        
    ];
}
